package com.wulijie.template;

/**
 * @Author cui
 * @Data
 */
public abstract class MilkMakeAbs {
    final void make() {
        m1();
        if (isUse()) {
            m2();
        }
        m3();
    }

    void m1(){
        System.out.println("开始制作");
    };

    abstract void m2();

    void m3(){
        System.out.println("制作完成~");
    }

    boolean isUse() {
        return true;
    }
}
